<h2>
	<span>Nova Categoria</span>
</h2>
<?php echo validation_errors('',''); ?>
<div class="clr"></div>
<?php echo form_open("javascript:gravar();",array("id"=>"formulario"));?>
<table>
	<tr>
		<td><?php echo form_label("Nome","nome");?>
		</td>
		<td><?php echo form_input(array("name"=>"nome","id"=>"nome"))?>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="right"><?php echo form_button(array("onclick"=>"gravar();"),"Cadastrar");?>
		</td>
	</tr>
</table>
<?php echo form_close();?>